package com.groupbuying.settleproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@Service
@FeignClient("service-cheetah")
public interface CheetahFeign {
    // 退款所需参数
    @RequestMapping(value = "/settleRefund/initParams", method = RequestMethod.GET)
    Map<String, Object> initRefundParams(@RequestParam("orderId") String orderId);
}
